*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
	width: 100%;
	height: 100%;
	background-color:white;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-content: center;
	}

/*inicio de header*/
.header{
    width: 100%;
    background-color:white;
    height: 8em;
	display: flex;
	flex-direction: row;
	justify-content: left;
	align-items: center;
    }
.logo{
    object-fit: cover;
    height: 100px;
    width: 335px;
    margin-left: 122px;
    margin-top: -6px;
}
.barnav{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	}
.menu{
    width: 10%;
    height: 100%;
    color:black;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	}
.menu:hover{
   color:#990000;
   transition: 0.5s;
}

/* Quitar estilo por defecto de los enlaces del menú */
.barnav a {
  text-decoration: none;   /* quita subrayado */
  color: #000000;          /* negro */
  font-weight: 500;
}

/* Hover elegante */
.barnav a:hover {
  color: #990000;          /* rojo corporativo */
}
/*inicio de container*/
.container{
  width: 100%;
  background:#990000;        /* tu fondo negro */
  margin-left: 0;          /* quita el -54px */
  height: auto;            /* quita el 38em fijo */
  padding: 60px 0;
}

.title-contact{
    color:white;
    font-size: 2.2em;
    text-align: center;      /* evita margin-left fijo */
    margin-top: -7px;
    margin-right: 0;
    margin-left: -781px;
    margin-bottom: 30px;
    padding: 0 16px;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}

.about-grid{
    width: min(1100px, 92%);
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* texto + imagen */
    gap: 30px;
    align-items: start;
    padding-top: 14px;
    margin-top: -70px;
}

.about-text{
    color:white;
    text-align: justify;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    margin-left: 10px;
    margin-right: 100px;
    padding-top: 8px;
    line-height: 1.5;
    margin-top: 57px;
}

.about-media{
  display: flex;
  justify-content: center;
}

.card{
    width: 100%;
    max-width: 420px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    margin-top: -39px;
    margin-right: -39px;
    margin-left: -39px;
    margin-bottom: -39px;              /* quita margin-left 972px */
    padding-top: 0px;
}

.card-img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    padding-top: 0px;
    margin-top: -6px;
}

/*inicio de Sistema Integrado de Gestión*/
.sig{
  width: 100%;
  padding: 55px 0;
  background: #ffffff;
}

.sig-title{
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  text-align: center;
  margin: 0 0 30px 0;
  letter-spacing: 0.5px;
  font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}

.sig-actions{
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 70px;               /* separación como tu imagen */
  flex-wrap: wrap;
  font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}

.sig-btn{
  border: 3px solid rgba(113,13,13,1);
  border-radius: 15px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  min-height: 52px;
  background: #990000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;  
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

.sig-btn:hover{
  opacity: 0.92;
  transform: translateY(-1px);
}

/*inicio de footer*/
.footer{
    width: 100%;
    background-color: #990000;
	height: 19em;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.7fr 1fr;
    gap: 16px;
    align-items: center;
    margin-left: 110px;
    margin-top: 120px;
}
.footer h4{
    margin-top: -119px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 10px;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    align-items: center;
    color: white;
}

.footer a{
    display: block;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 7px;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: white;
    margin-left: 3px;
	 text-decoration: none;
}
.footer a:hover{
    color: #000000;
	}
.footer-logo{
    height: 211px;
    width: auto;
    margin-bottom: -4px;
    margin-top: -75px;
    margin-left: 56px;
}
.small{
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    margin-left: -18px;
	}
.ruc{
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: white;
    margin-top: 15px;
}
.container-footer1{
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: white;
    margin-top: 12px;
}
.telefono{
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    margin-top: 14px;
	color: white;
}
.celular{
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	color: white;
}
.direccion{
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	color: white;
}